import {addDefence, ClassPlanInit} from '@/utils/interface';
import {request} from 'umi';

export let getClasssPlanTree=()=>{
    return request('/sxpt/defence/getClasssPlanTree')
}

export let selectStationLabel=()=>{
    return request('/sxpt/station/selectStationLabel')
}
//保存
export let addDefencelist = (data:addDefence) => {
    return request("/sxpt/defence",{
        method:'post',
        data
    })
}

export let selectClassPlanInit=(params:ClassPlanInit)=>{
    return request("/sxpt/progress/selectClassPlanInit",{params})
}